package com.turing.post.capitalaccounts.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 销售机构缴款入帐单业务逻辑接口
 * 
 * @author 李治
 * 
 */
@Remote
@Local
public interface SaleCreditDepositBillBusiness {

	/**
	 * 撤销销售机构上存/缴现金支出单
	 * 
	 * @param obj
	 *            销售机构缴款入帐单
	 * @throws PCPSApplicationException
	 */
	public void cancelSaleCreditDB(PCPSWebInput webInput,
			SaleCreditDepositBill obj) throws PCPSApplicationException;

	/**
	 * 插入缴款入帐单
	 * 
	 * @param obj
	 *            销售机构缴款入帐单
	 * @throws PCPSApplicationException
	 */
	public void insertSaleCreditDepositBill(PCPSWebInput webInput,
			SaleCreditDepositBill obj) throws PCPSApplicationException;

	/**
	 * 修改凭证图片
	 * 
	 * @param webInput
	 * @param obj
	 * @throws PCPSApplicationException
	 */
	public void updateSaleCreditDepositBill(PCPSWebInput webInput,
			SaleCreditDepositBill obj) throws PCPSApplicationException;
}
